$(document).ready(function(){
	$("a.edit").live("click", function(){
		id = $(this).attr('rel');
		tr_edit = $('tr.edit[rel="'+ id +'"]');
		tr_save = $('tr.save[rel="'+ id +'"]');
		
		tr_edit.show();
		tr_save.hide();
		
		return false;
	});
	
	$('tr.edit input[type="reset"]').live("click", function(){
		id = $(this).attr('rel');
		tr_edit = $('tr.edit[rel="'+ id +'"]');
		tr_save = $('tr.save[rel="'+ id +'"]');
		
		tr_edit.hide();
		tr_save.show();
	});
});